package org.diffshop.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.diffshop.common.utils.PageUtils;
import org.diffshop.ware.entity.WmsPurchaseEntity;
import org.diffshop.ware.vo.MergePurchaseDetailVO;
import org.diffshop.ware.vo.PurchaseDoneVO;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author tjf
 * @date 2024-05-08 16:09:54
 */
public interface WmsPurchaseService extends IService<WmsPurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceivePurchases(Map<String, Object> params);

    void mergePurchaseDetail(MergePurchaseDetailVO mergePurchaseDetailVO);

    void receive(List<Long> purchaseIds);

    void done(PurchaseDoneVO purchaseDoneVO);
}

